package com.hs.asm;

/**
 * @Author: hs
 * @Description:
 * @Date: Create in 16:15 2019/8/26
 */

public class MyClassLoader extends ClassLoader {
    public MyClassLoader() {
        super(Thread.currentThread().getContextClassLoader());
    }

    public Class<?> defineClassForName(String name, byte[] data) {
        return this.defineClass(name, data, 0, data.length);
    }
}